/* =========================================================
   Create Account – Upwork-like styling
   IMPORTANT: All existing `display:` declarations are kept.
   (Spacing, typography, borders, sizing, alignment updated.)
   ========================================================= */

/* Page rhythm */
html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
}

/* ---------------------------------
   STEP 1 (Role choice)
----------------------------------*/

.signup__step__one {
  display: grid; /* keep */
  justify-content: center;

  /* keep your grid structure */
  grid-template-columns: 50% 50%;

  /* Upwork-like layout */
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 64px 24px 64px;
  gap: 18px;
  box-sizing: border-box;
}

.step__one__header {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;

  grid-column-start: 1;
  grid-column-end: 3;

  margin: 0 0 22px 0;
  letter-spacing: -0.02em;
}

/* shared card styles (client + marketer) */
.step__one__option__client,
.step__one__option__marketer {
  display: grid; /* keep */
  align-items: center;
  text-align: center;

  /* Upwork-like card */
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 14px;

  padding: 22px ;
  margin: 0 24px; /* replaces huge 3rem without changing structure */
  font-weight: 700;
  font-size: 1.05rem;

  max-width: min(300px, 80vw);
  justify-self: center;

  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.step__one__option__client img,
.step__one__option__marketer img {
  height: 2.75rem;
  width: auto;
  margin-top: 6px;
  justify-self: center;
}

.step__one__option__client p,
.step__one__option__marketer p {
  margin-top: 12px;
  max-width: 250px;
  text-align: center;
  justify-self: center;
  line-height: 1.35;
  font-weight: 600;
}

/* keep your blue hover color */
.step__one__option__client:active,
.step__one__option__client:hover,
.step__one__option__marketer:active,
.step__one__option__marketer:hover {
  background: #ecf6fc;
  cursor: pointer;
  border-color: #999;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

/* Button below step one (if you add it later) */
.signup__step__one button {
  grid-column-start: 1;
  grid-column-end: 3;

  /* Upwork-like centered CTA */
  width: min(440px, 100%);
  margin: 22px auto 0 auto; /* replaces margin: 0 22rem */
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
}

.already__have__an__account {
  text-align: center;
  grid-column-start: 1;
  grid-column-end: 3;
  margin-top: 12px;
  font-size: 0.95rem;
}

/* ---------------------------------
   STEP 2 (Company)
----------------------------------*/

.signup__step__two__company {
  display: none; /* keep */
  width: 100%;
  max-width: min(80vw, 855px);     /* Upwork-style narrow column */
  margin: 0 auto;
  padding: 56px 16px 32px 16px;
  box-sizing: border-box;
}

.signup__step__two__company h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-top: 1rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.signup__step__two__company h3 {
  font-size: 1.2rem;
  margin: 26px 0 10px 0;
  letter-spacing: -0.01em;
}

.form__errors {
  border: 1px solid #d9534f;
  background: #fff5f5;
  color: #8a1c1c;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 10px 0 18px 0;
}

.form__errors p {
  margin: 0 0 8px 0;
  font-weight: 700;
}

.form__errors ul {
  margin: 0;
  padding-left: 20px;
}

.field--error {
  border-color: #d9534f !important;
}

.signup__plans.field--error,
.payment__methods.field--error,
.consents.field--error {
  border: 1px solid #d9534f;
  border-radius: 12px;
  padding: 10px;
}

/* Plans */
.signup__plans {
  display: grid; /* keep */
  grid-template-columns: 33% 33% 33%; /* keep */
  gap: 12px;
  margin-top: 10px;
}

.plan {
  border: 1px solid #ddd;
  border-radius: 14px;

  margin: 0; /* replaces margin:10px */
  display: grid; /* keep */
  justify-items: center;
  max-width: 230px;

  padding: 16px 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.plan h3 {
  text-align: center;
  margin-bottom: 6px;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.plan ul {
  padding-left: 18px;
  margin: 0 0 10px 0;
  line-height: 1.45;
  font-size: 0.95rem;
}

.plan button {
  width: fit-content;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
}

.plan p {
  margin: 10px 0 0 0;
  text-align: center;
  font-size: 0.9rem;
}

/* keep your blue hover */
.plan:active,
.plan:hover {
  background: #ecf6fc;
  cursor: pointer;
  border-color: #999;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
}

.plan-selected {
  background-color: #ecf6fc;
  border-color: #000;
}

/* ---------------------------------
   Forms (Upwork-like form column)
----------------------------------*/

.account__information__form {
  display: grid; /* keep */
  grid-template-columns: 100%;
  gap: 10px;
  margin-top: 10px;
}

label {
  grid-column-start: 1;
  grid-column-end: 3;
  font-weight: 700;
  margin: 14px 0 6px 0;
  font-size: 0.95rem;
}

input {
  border-radius: 10px;
  grid-column-start: 1;
  grid-column-end: 2;
  padding: 0.9rem 0.95rem;
  max-width: 720px;

  border: 1px solid #d6d6d6;
  background: #fff;
  box-sizing: border-box;
}

select {
  padding: 0.9rem 0.95rem;
  border-radius: 10px;
  max-width: 720px;

  border: 1px solid #d6d6d6;
  background: #fff;
  box-sizing: border-box;
}

select:focus,
input:focus {
  outline: none;
  border-color: #2868a7; /* keep */
  box-shadow: 0 0 0 2px rgba(40,104,167,0.2); /* keep */
}

/* Billing form */

.billing__information form,
.billing__information > div {
  display: grid; /* keep */
  grid-template-columns: 100%;
  gap: 10px;
}

/* ---------------------------------
   Payment methods (accordion cards)
----------------------------------*/

.payment__method {
  display: flex; /* keep */
  align-items: center;

  border: 1px solid #ddd;
  margin: 12px 0;
  padding: 0; /* header handles padding */
  border-radius: 14px;
  max-width: 720px;

  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);

  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.payment__method:hover {
  border-color: #999;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  background: #ecf6fc; /* keep your hover-blue behavior */
}

.payment__method.selected {
  border-color: #000;
  background: #f9f9f9;
}

.payment__method__header {
  display: flex; /* keep */
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  width: 100%;
}

.payment__method p {
  margin-left: 0; /* override old left margin */
  font-weight: 800;
  font-size: 1.0rem;
}

.payment__method img {
  height: 2.4rem;
  width: auto;
}

.payment__method__details {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  background: #fafafa;
  border-top: 1px solid #eee;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.payment__method.active .payment__method__details {
  max-height: 200px;
  padding: 12px 16px 14px 16px;
}

/* ---------------------------------
   Order summary + consents
----------------------------------*/

.order__summary {
  max-width: 720px;
  margin-top: 14px;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 14px 0px 14px 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  background: #fff;
}

.order__summary__subtitle {
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 6px 0;
}

.order__summary p {
  font-size: 1rem;
  margin: 6px 0;
  line-height: 1.4;
}

.consents {
  max-width: 720px;
  margin-top: 18px;
  padding-top: 6px;
}

.consents form {
  gap: 10px;
}

.consents input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: auto; /* don’t force color */
}

.consents label {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.35;
}

.submit__button {
  padding: 0.95rem 1rem;
  font-size: 1.05rem;
  margin-top: 18px;
  margin-bottom: 10px;

  width: 100%;
  max-width: 720px;
  border-radius: 999px;
  font-weight: 800;
}

/* ---------------------------------
   STEP 2 (Marketer) — same styling
----------------------------------*/

.signup__step__two__marketer {
  display: none; /* keep */
  width: 100%;
  max-width: min(80vw, 855px);   margin: 0 auto;
  padding: 56px 16px 32px 16px;
  box-sizing: border-box;
  justify-content: center;
}

.signup__step__two__marketer h2 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-top: 1rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.signup__step__two__marketer h3 {
  margin-top: 26px;
  letter-spacing: -0.01em;
}

/* ---------------------------------
   Mobile (KEEP display changes here)
----------------------------------*/

@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 15px;

  }

  .signup__step__one {
    display: flex; /* keep */
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 1.25rem 1rem;
    width: 100%;
    box-sizing: border-box;
    gap: 14px;
  }

  .step__one__header {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
  }

  .step__one__option__client,
  .step__one__option__marketer {
    width: 100%;
    max-width: 520px;
    margin: 0;
    padding: 1.1rem;
  }

  .signup__step__one button {
    width: 100%;
    margin: 1rem auto 0 auto;
    font-size: 1.05rem;
    padding: 1rem;
  }

  .signup__plans {
    display: flex; /* keep */
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .plan {
    width: 100%;
    max-width: 520px;
    margin: 0;
    padding: 1rem;
  }

  input, select, .payment__method, .submit__button, .consents {
    width: 100%;
    margin: 0.5rem auto;
  }

  .payment__method {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }

  .payment__method img {
    height: 2.25rem;
    width: auto;
  }

  .payment__method p {
    font-size: 1rem;
  }

  .consents form {
    display: grid;
    justify-items: left;
    grid-template-rows: auto auto;
  }

  .consents form label {
    grid-column-start: 2;
    grid-column-end: 3;
    margin-left: 1rem;
    font-size: 0.95rem;
  }

  #legal-agreements {
    grid-row-start: 2;
    grid-row-end: 3;
  }

  .consents form br {
    display: none;
  }

  h3 {
    text-align: center;
  }
}
